class PathWithDrawListModel {
  List<PathWithDrawListItemModel>? list;
  int? pageNum;
  int? pageSize;
  int? total;
  int? totalPage;

  PathWithDrawListModel({
    this.list,
    this.pageNum,
    this.pageSize,
    this.total,
    this.totalPage,
  });

  PathWithDrawListModel.fromJson(Map<String, dynamic> json) {
    list =
        json["list"] == null
            ? null
            : (json["list"] as List)
                .map((e) => PathWithDrawListItemModel.fromJson(e))
                .toList();
    pageNum = json["pageNum"];
    pageSize = json["pageSize"];
    total = json["total"];
    totalPage = json["totalPage"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    if (list != null) {
      _data["list"] = list?.map((e) => e.toJson()).toList();
    }
    _data["pageNum"] = pageNum;
    _data["pageSize"] = pageSize;
    _data["total"] = total;
    _data["totalPage"] = totalPage;
    return _data;
  }
}

class PathWithDrawListItemModel {
  dynamic? amount;
  String? createTime;
  String? reason;
  String? status;
  String? statusDesc;
  String? withdrawNo;

  PathWithDrawListItemModel({
    this.amount,
    this.createTime,
    this.reason,
    this.status,
    this.statusDesc,
    this.withdrawNo,
  });

  PathWithDrawListItemModel.fromJson(Map<String, dynamic> json) {
    amount = json["amount"];
    createTime = json["createTime"];
    reason = json["reason"];
    status = json["status"];
    statusDesc = json["statusDesc"];
    withdrawNo = json["withdrawNo"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["amount"] = amount;
    _data["createTime"] = createTime;
    _data["reason"] = reason;
    _data["status"] = status;
    _data["statusDesc"] = statusDesc;
    _data["withdrawNo"] = withdrawNo;
    return _data;
  }
}
